from meiduo_admin.mypakge import *
from django.contrib.auth.models import Permission, ContentType, Group


class GROUP___GroupModelSerializer(serializers.ModelSerializer):
    class Meta:
        model = Group
        fields = [
            'id',
            'name'
        ]

class GROUP___GroupPremSerializer(serializers.ModelSerializer):
    class Meta:
        model = Permission
        fields = [
            'id',
            'name'
        ]